﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zor_Modes;
using Zor_IDAL;
using Zor_Tools;
using System.Data;
namespace Zor_DAL
{
    public class TaxRevenueStat_DAL<T> where T : class
    {

        /// <summary>
        /// 导出税收统计表（不分页）
        /// create light by 2017.4.1     
        /// </summary>
        /// <returns></returns>
        public static List<T> SelectViewTaxRevenueStat(string where = null)
        {
            string strwhere = "";
            if (!string.IsNullOrEmpty(where))
            {
                strwhere = "1=1 " + where;
            }
            var sql = "select * from [dbo].[V_TaxRevenueStat] order by Dt_Id";
            return DapperQuery<T>.DoQueryList(sql, null);
        }

    }
}
